/**
 * 
 */
package com.igatewebsol.service;

import java.util.ArrayList;

import com.igatewebsol.action.UserTypeBean;
import com.igatewebsol.actionforms.HotelUserBean;
import com.igatewebsol.dao.UserDAO;
import com.igatewebsol.daoimpl.UserDAOImpl;

/**
 * @author aravind Rapuru
 *
 */
public class UserService {
	
	private UserDAO userDAO=new UserDAOImpl();

	public int createUser(HotelUserBean userBean) {
		
		int insertcount=userDAO.createUser(userBean);
		
		return insertcount;
	}

	public ArrayList<UserTypeBean> userTypeList() {
		ArrayList<UserTypeBean> userTypeList=userDAO.getuserTypeList();
		return userTypeList;
	}

}
